Learn R Programming

trotter (version 0.6)

[,SSPV-method: Retrieve a Subset by Index

Description

Access asubset stored in an SSPV instance by index.

Usage

"["(x, i, j, drop)

Arguments

x
an instance of SSPV.
i
an index specifying the position of the sought amalgam
j
not used.
drop
not used.

Value

the subset located at position i in pseudo-vector x

Details

The subset at index i of pseudo-vector x is not actually stored in memory but calculated as needed. The extract method is used solely for interpretation.

See Also

Permutations Pseudo-Vector ppv

Combinations Pseudo-Vector cpv

Amalgams Pseudo-Vector apv

Selections Pseudo-Vector spv